package kau.dao;

import java.util.ArrayList;
import java.util.HashMap;

import kau.exception.DuplicationException;
import kau.exception.RecordNotFoundException;
import kau.vo.Course;
import kau.vo.Registeration;

public interface RegisterationDAOIF {
	// 수강등록
	// 수강수정
	// 수강취소
	// 수강보기
	// 수강정보모두보기
	public abstract void insert(Registeration registeration) throws DuplicationException;
	public abstract void update(Registeration registeration) throws RecordNotFoundException;
	public abstract void delete(Registeration registeration) throws RecordNotFoundException;
	//public abstract Registeration getRegisteration(Registeration registeration) throws RecordNotFoundException;
	public abstract ArrayList<Registeration> getAllRegisterations();
	public abstract ArrayList<Registeration> getAllCourseId(String custId);
	public abstract ArrayList<Registeration> getAllCustId(int courseId);
	public abstract Registeration getRegisteration(String custId, int courseId);
	public abstract ArrayList<Registeration> getAllConfirmCustId(int courseId);
}
